package org.fuys.coder.infrastructure.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.fuys.coder.infrastructure.model.dto.LotteryStrategyDTO;
import org.fuys.coder.common.entity.PageDTO;
import org.fuys.coder.infrastructure.model.po.LotteryStrategy;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.infrastructure.dao
 * @className: LotteryStrategyMapper
 * @author: WangJing
 * @description: 抽奖策略持久层
 * @date: 2024/7/5 22:53
 * @version: 1.0
 */
@Mapper
public interface LotteryStrategyMapper extends BaseMapper<LotteryStrategy> {
    List<LotteryStrategyDTO> getAllInfo();

    List<LotteryStrategyDTO> pageInfo(PageDTO pageDTO);
}
